<?php
/**
 * 前端话题接口
 */
require_once dirname(dirname(__DIR__))."/common.php";
use app\cls\tom\Response;
use app\cls\tom\SysResource;
use app\model\UserVideo;
//实例化数据库
$db = SysResource::getDB(false);
$UserVideo=new UserVideo($db);
$res=$UserVideo->type_subs();
if(!empty($res)){
    Response::output(0,"查询成功",$res);
}else{
    Response::output(0,"查询成功",[]);
}
